"use strict";
cc._RF.push(module, '9ef08nt9xNPkpRu06lynxwu', 'subDifficultTemplateJS');
// src/subDifficultTemplateJS.js

"use strict";

var n = module.exports = {};
var t = module;
console.assert(true), cc.Class({
  "extends": cc.Component,
  properties: {
    id: 0,
    imageViewBtn: cc.Button,
    CompletionLabel: cc.Label
  },
  start: function start() {},
  init: function init(e) {
    var t;
    this.id = e.id, this.CompletionLabel.string = e.CompletionLabel;
    var n = this;
    t = e.imageViewPath, cc.loader.loadRes(t, cc.SpriteFrame, function (e, t) {
      e ? cc.log("Completed with " + e.length + " errors") : (console.log(" 加载完成！" + t._name + "  "), n.imageViewBtn.normalSprite = t, n.imageViewBtn.pressedSprite = t, n.imageViewBtn.hoverSprite = t);
    });
  }
});

cc._RF.pop();